package com.letcode;

import java.util.*;
public class Main{
    public static void main(String[] args){
        int[] m={1,7,2,4,5};
        Arrays.sort(m);
        String s = Arrays.toString(m);
        System.out.println(s);
        /*Scanner scanner = new Scanner(System.in);
        int a=scanner.nextInt();
        for (int i = 0; i < a; i++) {
            int n=scanner.nextInt();
            int m=scanner.nextInt();
            int[] mi=new int[n-1];
            for (int j = 0; j <n ; j++) {
                mi[j]=scanner.nextInt();
            }*/

        }

   public static int su(int m,int[] wi) {
         int s = 0;
       int n = wi.length;
       int sum;
       Arrays.sort(wi);
       for (int i = 0; i < n; i++) {
           

       }
       return s;


   }
}
